package v3.chapter1.runMethodUseStopMethod;

public class Run {
	public static void main(String[] args) {
		MyThread thread=new MyThread();
		thread.start();
	}
}

class MyThread extends Thread{

	@Override
	public void run() {
		try {
			this.stop();
		}catch(ThreadDeath e) {
			System.out.println("进入了catch()方法！");
			e.printStackTrace();
		}
	}
}